package com.weiyi.weiman.mapper.comics;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import comics.ComicsPicture;
import org.apache.ibatis.annotations.Select;

public interface ComicsPictureMapper extends BaseMapper<ComicsPicture> {

    @Select("SELECT picture_address FROM wm_comics_picture WHERE chapter_id = #{chapterId} and picture_num = #{pictureNum}")
    String getChapterCover(long chapterId, int pictureNum);

}
